home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-12-21 | 1.7 KB | 101 lines | [TEXT/MPS ] |
- object oIntro_Two_18 is cDefaultContainer
- with
- Binder is oBinder;
- Label is -1;
- Items is [
- oKeyboard_Volume__18_8,
- oOP_SENS_PIC_18_1,
- oSound_Trigger_18_3
- ];
- end;
-
-
- object oKeyboard_Volume__18_8 is cKeyboardHandler
- with
- Behavior is cDefaultBehavior
- has
- KeyDown(theTarget, theKey)
- use
- KeyMatch;
-
- do
- KeyMatch := theKey = '-';
- if KeyMatch then
- theTarget.DoDefaultMethod := false;
-
- oSoundVolume.StepIndexBy(-1);
- end;
- KeyMatch := theKey = '=';
- if KeyMatch then
- theTarget.DoDefaultMethod := false;
-
- oSoundVolume.StepIndexBy(1);
- end;
- KeyMatch := theKey = '+';
- if KeyMatch then
- theTarget.DoDefaultMethod := false;
-
- oSoundVolume.StepIndexBy(1);
- end;
- end;
-
- with
- Enabled is true; Shown is false;
- X is 30; Y is 24; Width is 0; Height is 0;
- end;
- end;
-
-
- object oOP_SENS_PIC_18_1 is cPictureHandler
- with
- Duration is 180;
- Supplier is oOP_SENS_PIC;
- Behavior is cDefaultBehavior
- has
- Onscreen(theTarget)
- do
- theTarget.Run(true);
- end;
-
- Finished(theTarget)
- do
- oBinder.SetTransition(oDissolve, 30);
- oBinder.Goto(oMain_Menu_1);
- end;
-
- with
- Enabled is false; Shown is true;
- X is 0; Y is 0; Width is 640; Height is 480;
- end;
- end;
-
-
- object oSound_Trigger_18_3 is cTimerHandler
- with
- TimerShown is false;
- Duration is 600;
- Ageing is 30;
- ResetOnInteraction is false;
- Behavior is cDefaultBehavior
- has
- Offscreen(theTarget)
- do
- theTarget.Run(true);
- end;
-
- OnTime(theTarget, theTime)
- do
- if theTime = -1 then
- theTarget.RegisterOnTime(120);
- else if theTime = 120 then
- oAmbientSound.Start(oOP_MUSC_WAV);
- end;
- end;
-
- with
- Enabled is true; Shown is true;
- X is 0; Y is 0; Width is 640; Height is 480;
- end;
- end;
-
-